﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ruici.Web.Services.Model
{
    public class DoctorSchedule
    {
        /// <summary>
        /// 医生id
        /// </summary>
        public int docID { set; get; }
        /// <summary>
        /// 排期时间
        /// </summary>
        public DateTime Date { set; get; }
        /// <summary>
        /// 已约数
        /// </summary>
        public int appointment { set; get; }
        /// <summary>
        /// 总容量
        /// </summary>
        public int capacity { set; get; }
        /// <summary>
        /// 诊所ID
        /// </summary>
        public int hospitalID { set; get; }
        /// <summary>
        /// 门诊ID
        /// </summary>
        public int clinicID { set; get; }
        /// <summary>
        /// 门诊类别ID
        /// </summary>
        public int clinicinfoID { set; get; }
        /// <summary>
        /// 是否支持远程
        /// </summary>
        public bool IsRemote { set; get; }
        /// <summary>
        /// 详情
        /// </summary>
        public List<SubDate> subdate { set; get; }
    }

    public class SubDate
    {
        /// <summary>
        /// 时间类型（AM、PM、NM）
        /// </summary>
        public string TimeTarget { set; get; }
        /// <summary>
        /// 时间（7：30-8：00）
        /// </summary>
        public string Time { set; get; }
        /// <summary>
        /// 已约数
        /// </summary>
        public int appointment { set; get; }
        /// <summary>
        /// 总容量
        /// </summary>
        public int capacity { set; get; }

    }
}